package com.lyh.system.domain.req;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lyh.common.annotation.Excel;
import com.lyh.common.annotation.Excel.ColumnType;
import com.lyh.common.annotation.Excel.Type;
import com.lyh.common.core.domain.BaseEntity;
import com.lyh.common.core.domain.entity.SysRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


/**
 * 用户对象 sys_user
 *
 * @author lyh
 */
@Data
@TableName("sys_user")
@ApiModel(value = "用户管理修改", description = "用户管理修改")
public class SysUserEdit implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @TableId
    @ApiModelProperty(value = "主键")
    private Long userId;



    @ApiModelProperty(example = "0=正常,1=停用")
    private String status;

    //会员等级
    @ApiModelProperty(example = "会员等级 字典 menber_level")
    private Integer memberLeve;

    //门店长等级
    @ApiModelProperty(example = "门店长等级 字典 mstore_level")
    private String mstoreLeve;

    @ApiModelProperty(value = "是否有顶级邀请人 1 是 0否")
    private Integer topInviteFlag;

    @ApiModelProperty(example = "是否返佣 1 是 0否")
    private Integer  rebatesFlag;

    @ApiModelProperty(example = "返佣比例")
    private BigDecimal rebatesRate;

    @ApiModelProperty(example = "账户余额")
    private BigDecimal accountBalance;

    @ApiModelProperty(example = "零钱")
    private BigDecimal changes;

    @TableField(exist = false)
    @ApiModelProperty(example = "消费券")
    private BigDecimal consumerCouponNum;

    @TableField(exist = false)
    @ApiModelProperty(example = "资产通证")
    private BigDecimal assetEvidenceNum;

    @TableField(exist = false)
    @ApiModelProperty(example = "积分")
    private Long integral;

    @ApiModelProperty(example = "权益额度")
    private BigDecimal equityLimit;









}
